package com.bw.lib_common.vm

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

/**
 * 基础的ViewModel
 */
open abstract class BaseViewModel<T>:ViewModel(){

    //错误信息提示
    open val mErrorLiveData=MutableLiveData<String>()
    //数据获取成功
    open val mSuccessLiveData=MutableLiveData<T>()

}